<?php
/**
 * <https://y.st./>
 * Copyright © 2017 Alex Yst <mailto:copyright@y.st>
 * 
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with this program. If not, see <https://www.gnu.org./licenses/>.
**/

$xhtml = array(
	'title' => '<code>minequest</code> debug mode',
	'body' => <<<END
<section id="general">
	<h2>General news</h2>
	<p>
		I came up with a great idea for a <code>minequest</code> bonus, but it didn&apos;t work out.
		Basically, it&apos;d be an anti-<code>bones</code> bonus.
		When you die while equipped with this bonus, you don&apos;t lose your stuff.
		It looks like <code>bones</code> doesn&apos;t have any $a[API] hooks I can latch into though, so I can&apos;t bypass it on a per-player basis.
		Oh well, I&apos;ll come up with something else.
	</p>
	<p>
		I&apos;ve programmed the beginnings of a debug mode for <code>minequest</code>.
		It&apos;ll allow me to test the bonuses I program without having to write code that manipulates my point values, without editing my point file, and without spending hours mining just to raise my point levels to where I need them to be for testing.
		I also won&apos;t have to start over countless times when I need to test the abilities at a lower level than I&apos;ve got them at and I won&apos;t have to reload the world between tests.
		I&apos;ll probably leave the debug mode in my code when I release, but disable it by default with a simple configuration flag.
		Even enabled though, you have to collect a bunch of random-ass shit to access debug mode, and what you have to gather is player-specific and subgame specific.
		Not many would stumble into debug mode on accident, even if it were enabled.
	</p>
	<p>
		It seems cans of mixed vegetables are also on sale right now, so I grabbed a backpack full of those today instead of the corn I&apos;d planned to get.
	</p>
	<p>
		A couple Christian missionaries stopped by my home today.
		I wasn&apos;t really sure what to make of them, as they had pretty much no argument.
		They said to pray and wait for a feeling to know their god is real.
		Um ... yeah ... a feeling ...
		Anyway, they asked me to join them in prayer on the porch, so I did, but they soon left after that without having gotten anywhere, but seemingly having thought they had.
		I expect they&apos;ll be back to check up on whether I believe yet.
	</p>
	<p>
		My <a href="/a/canary.txt">canary</a> still sings the tune of freedom and transparency.
	</p>
</section>
<section id="university">
	<h2>University life</h2>
	<p>
		The reading assignment in <span title="Greek and Roman Civilization">HIST 1421</span> this week is the following two pages:
	</p>
	<ul>
		<li>
			<a href="https://www.thoughtco.com./the-peloponnesian-war-causes-120200">The Peloponnesian War - Causes of the Conflict</a>
		</li>
		<li>
			<a href="http://flowofhistory.com./units/birth/3/FC20">FC20: The Rise of Sparta to 500 BCE - The Flow of History</a>
		</li>
	</ul>
	<p>
		I&apos;ll read them late tonight and early tomorrow morning as I wash and dry my laundry through midnight.
	</p>
</section>
END
);
